package integrationTier;

import core.MovieException;
import java.util.List;
import core.Medium;

/**
 * Iface k DAO objektu medii
 * @author vojta
 */
public interface IMediumDAO {

    List<Medium> listAll() throws MovieException;
    Medium get(Medium medium) throws MovieException;
    void add(Medium medium) throws MovieException;
    void remove(Medium medium) throws MovieException;
    void change(Medium medium) throws MovieException;
    void close() throws MovieException;
    //public boolean isUsed(Medium medium) throws MovieException;

}
